package com.dale.common.dto;

import com.dale.entity.Answer;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Gyt
 * @create 2021-06-05 - 11:20
 */
@Data
public class QuesDto {
    private Long qid;
    private String question;


    @JsonFormat(pattern="MM-dd HH:mm")
    private LocalDateTime created;

    private int answerCount;

    private List<Answer> answers;

}
